package com.mypack.student.dto.student;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(30)
public class StudentExportDTO implements Serializable {

    private static final long serialVersionUID = 6992387589311294439L;

    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("学籍号")
    private String userNo;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty("身份证号")
    private String identityCardNo;
    @ExcelIgnore
    private Integer sex;
    @ExcelProperty("性别")
    private String sexStr;
    @ExcelProperty("监护人")
    private String guardian;
    @ExcelProperty("手机号码")
    private String mobile;
    @ExcelIgnore
    private Date startTime;
    @ExcelProperty("入学时间")
    private String startTimeStr;
    @ExcelProperty("班级")
    private String clazzName;
    @ExcelProperty("所属年级")
    private String department;
    @ExcelIgnore
    private String province;
    @ExcelIgnore
    private String city;
    @ExcelIgnore
    private String address;
    @ExcelProperty("居住地")
    private String allAddress;
    @ExcelProperty("备注")
    private String remark;
}
